package com.zzy;

import com.zzy.Pojo.MyRest;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@MapperScan("com.zzy.dao")
@SpringBootApplication
public class CzTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(CzTestApplication.class, args);
    }
    @Bean
    public MyRest getrest()
    {
        return new MyRest();
    }
}
